home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.0
/
Video Toaster v4.0.iso
/
arexx
/
switcher
/
genlockfunction.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-12-13
|
758b
|
49 lines
/* Demonstrates using the Toaster Genlock utility as an ARexx function host */
/* By Arnie Cachelin © 1992 NewTek Inc. */
GENLOCKFCN = 'GENLOCK_REXX_PORT'
IF POS(GENLOCKFCN , SHOW('Libraries')) = 0 THEN
IF ~ADDLIB(GENLOCKFCN , 0) THEN DO
SAY "Sorry, Cannot add Genlock function host... exiting now"
EXIT
END
TAKE()
say "Hit return"
pull arg1
say AUTO()
say "Hit return"
pull arg1
/* TBAR movement is relative, not absolute */
say TBAR(50)
say "Hit return"
pull arg1
say TBAR(50)
say "Hit return"
pull arg1
say TBAR(50)
say "Hit return"
pull arg1
say TBAR(-50)
say "Hit return"
pull arg1
say TBAR(-50)
say "Hit return"
pull arg1
say TBAR(-50)
say "Hit return"
pull arg1
say RBUP()
say QUIT()
say 'Exiting'